#ifndef GDB_SERVER_H
#define GDB_SERVER_H
#define CPU_Running (0u)
#define CPU_Halt    (1u)
extern volatile unsigned int monitor_flag;
typedef struct{
    volatile unsigned int CPU_State;
}DebugTarget;
extern volatile DebugTarget DebugObj;
extern volatile unsigned char AckModeFlag;
extern volatile unsigned char CPU_DetectHalt;
void Uart_GDB_ServerStart(void);
unsigned int monitor_output_string(char*str);
#endif
